package com.iwuyc.tools.commons.system;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class JavaInfoGetter {
    /**
     * java版本
     */
    private final String version;
    /**
     * 供应商名称
     */
    private final String vendor;

    /**
     * Java 供应商的 URL
     */
    private final String vendorUrl;


    public JavaInfoGetter() {
        this.version = System.getProperty("java.version");
        this.vendor = System.getProperty("java.vendor");
        this.vendorUrl = System.getProperty("java.vendor.url");
    }
}
